from searxqt.translations import _


def boolToStr(state):
    return _("Yes") if state else _("No")


def listToStr(list_):
    return ", ".join(list_)
